
import httpRequest from '@/utils/httpRequest'
// 列表
export function getList (data) {
    return httpRequest({
        url: '/business/businessWeight/list',
        method: 'get',
        params: data
    })
}

// 详情
export function getById (data) {
    return httpRequest({
        url: '/business/businessWeight',
        method: 'get',
        params: data
    })
}
// 删除
export function del (data) {
    return httpRequest({
        url: '/business/businessWeight/delete',
        method: 'post',
        data: data
    })
}
// 新增或修改
export function save (data) {
    return httpRequest({
        url: '/business/businessWeight',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 修改状态
export function updateState (data) {
    return httpRequest({
        url: '/business/businessWeight/updateStatus',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 账户选择
export function selectAccount (data) {
    return httpRequest({
        url: '/business/businessWeight/selectAccount',
        method: 'get',
        params: data
    })
}
// 现收款通知列表
export function getTodoCollectMoneyNoticeList (data) {
    return httpRequest({
        url: '/business/businessWeight/getTodoCollectMoneyNoticeList',
        method: 'get',
        params: data
    })
}
